package com.mdd.car.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel("商品sku列表Vo")
public class ProductSkuListedVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "spu编号")
    private Long spuId;

    @ApiModelProperty(value = "属性数组，格式 propertyId:valueId,propertyId:valueId")
    private String properties;

    @ApiModelProperty(value = "商品价格，单位：元")
    private BigDecimal price;

    @ApiModelProperty(value = "市场价，单位：元")
    private BigDecimal marketPrice;

    @ApiModelProperty(value = "成本价，单位： 元")
    private BigDecimal costPrice;
    @ApiModelProperty(value = "图片地址")
    private String picUrl;

    @ApiModelProperty(value = "商品销量")
    private Integer salesCount;
}
